<?php
/*@var $form yii\widgets\ActiveForm */
use yii\widgets\ActiveForm;
use yii\helpers\Html;
?>
<?php $form=ActiveForm::begin([
		'fieldConfig'=>[
				'template'=>'{label}<div class="col-sm-9">{input}<span class="help-inline col-xs-12 col-sm-7">{hint}{error}</span>',
						'labelOptions'=>['class'=>'col-sm-3 control-label no-padding-right'],
						'inputOptions'=>['class'=>'col-xs-10 col-sm-8'],
						'errorOptions'=>['class'=>'middle'],
					]
]);?>
<div class="alert alert-info bigger-110">
<?=$form->field($model, 'RoleName')->textInput(['value'=>$name]) ?>
<br /><br />
<?=$form->field($model, 'description')->textInput(['value'=>$description]) ?>
<br /><br />
<?=$form->field($model, 'SortID')->textInput(['value'=>$SortID]) ?>
<br /><br />
<?php $model->State=$State ?>
<?=$form->field($model, 'State')->radioList(['1'=>'启用','0'=>'禁用']) ?>
<br /><br />
</div>
<div class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix">
	<center>
		<button type="submit" class="btn btn-primary btn-minier ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" role="button">
			<span class="ui-button-text">提交</span>
		</button>
		<button type="reset" class="btn btn-primary btn-minier ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" role="button">
			<span class="ui-button-text">重置</span>
		</button>		
	</center>
</div>
<?php ActiveForm::end();?>

